"""
@author: 章万磊
@software: PyCharm
@file: main.py
@time: 2022/9/27 23:30
"""
import random


while True:
    a = ["剪刀", "石头", "布"]
    cpe = a[random.randint(1, 2)]
    b = input('小老弟，你出什么：')
    if cpe==a[0] and b==a[2] or cpe==a[1] and b==a[0] or cpe==a[2] and b==a[1] :
        print("机器人出",cpe)
        print("你出了",b)
        print("小伙子你不行啊，再练练。")
    elif cpe==a[0] and b==a[0] or cpe==a[1] and b==a[1] or cpe==a[2] and b==a[2]:
        print("机器人出", cpe)
        print("你出了", b)
        print("平局，一般般啦")
    elif cpe==a[0] and b==a[1] or cpe==a[1] and b==a[2] or cpe==a[2] and b==a[0]:
        print("机器人出", cpe)
        print("你出了", b)
        print("我焯牛逼牛逼，运气真不戳")
        break
    else:
        print("小伙子你不讲武德啊，出",b,"你这不是xjb出么，给我擦干净你的g眼，好好出！！！")












